<div class="row">
                        
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <div class="icon"><i class="icon20 i-stack-list"></i></div>
                <h4><?= trans('title_form_upload') ?></h4>
                <a href="#" class="minimize"></a>
            </div><!-- End .panel-heading -->
        
            <div class="panel-body">
            	
                <form id="form" class="form-horizontal" role="form" method="post">

                    <input type="hidden" id="idGal" value="<?= $info['gallery_id'] ?>" />
                    <input type="hidden" id="pathGal" value="<?= $info['gallery_name_encryption'] ?>">
		    <a href="#" id="saveOrderImages" class="btn btn-primary" style="margin-bottom:10px;">Save</a>
                    <div class="row">
                        <?php
                        foreach ($images as $value) {
                            echo '<div class="col-xs-6 col-md-3" style="position:relative; margin-bottom: 10px;	">
					<input type="text" name="orderImages[]" class="orderImages" style="position:absolute; top: 0px; left: 0px; width: 30px;" value="'.$value['order'].'" ids="'.$value['id'].'"/>
                                    <i class="icon16 i-close deleteImage" ids="'.$value['id'].'" style="position:absolute; top: 20px; right: 30px;"></i>
                                    <a href="#" class="thumbnail">
                                      <img src="'.base_url().$value['thump'].'" alt="">
                                    </a>
                                  </div>'; 
                        }
                        ?>
                    </div>

                	<div id="dropbox">
					    <span class="message">Drop images here to upload. <br /><i>(they will only be visible to you)</i></span>
					</div>
        
                </form>

            </div><!-- End .panel-body -->
        </div><!-- End .widget -->
    </div><!-- End .col-lg-6  -->
</div>
